$(function() {
    $('#condomsDD').change(function() {
        var selected = $("#condomsDD option:selected").val();
       window.location = selected;
    });
    $('#lubeDD').change(function() {
        var selected = $("#lubeDD option:selected").val();
       window.location = selected;
    });
    $('#deviceDD').change(function() {
        var selected = $("#deviceDD option:selected").val();
       window.location = selected;
    });
});
$(function() {
    $("#retailerDialog").dialog({
        modal:true,
        autoOpen: false,
        width:450,
        height:375,
        title: 'Find a Retailer',
        buttons: {
        }
    });

    $('#btn-retailers').click(function() {
        var url = $(this).attr('href');
        $('#retailerDialog').load(url, function() {
            $('#retailerDialog').dialog('open');
        });
        return false;
    });
});